package com.lmf.annotation.config;

import com.lmf.annotation.bean.Person_2;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 *  @PropertySource():导入属性文件位置，参数是属性文件位置数组;需要使用 ${} 来取出参数值
 */
@PropertySource(value = {"classpath:/person_2.properties"})  //
@Configuration
@Import(Person_2.class)
public class MyConfigOfPropertyValue {

}
